package com.hutao.medical.mapper.print;

import com.hutao.medical.common.util.Params;
import com.hutao.medical.pojo.print.PrintFee;
import com.hutao.medical.pojo.print.PrintFeeExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PrintFeeMapper {
    int countByExample(PrintFeeExample example);

    int deleteByExample(PrintFeeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrintFee record);

    int insertSelective(PrintFee record);

    List<PrintFee> selectByExample(PrintFeeExample example);

    PrintFee selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrintFee record, @Param("example") PrintFeeExample example);

    int updateByExample(@Param("record") PrintFee record, @Param("example") PrintFeeExample example);

    int updateByPrimaryKeySelective(PrintFee record);

    int updateByPrimaryKey(PrintFee record);
    
    List<Map<String,Object>> getPrintFeeMsg(@Param("printFeeId")Integer printFeeId);
    
    List<Integer> getPrintIdsbyParams(Params params);
    
    int getPrintFeeDetailIdByUnique(@Param("uniqueId")String uniqueId,@Param("medicalRecord")String medicalRecord);
    
    int getPrintCountbyParams(Params params);
}